package com.thirdgroup.dao;

import com.thirdgroup.pojo.entity.CustomerInfo;
import com.thirdgroup.pojo.entity.ManagerInfo;

import java.util.List;

public interface ManagerInfoDao {
//    根据用户名查CustomerInfo
    public ManagerInfo selectByUsername(String username);
    public List<ManagerInfo> selectAll();

    public Integer updateState(String id,String status,String date);

    public Integer add(String id, String username, String password, String formattedDate, String profilePicture);

    public Integer delete(String managerid);

    ManagerInfo detail(String managerid);
}
